Skip to content

Refactor zha/async_device_initialized()#16485

Merged
balloob merged 1 commit intohome-assistant:devfrom
Adminiuga:zha-remove-discovery-info
Sep 12, 2018
Merged

Refactor zha/async_device_initialized()#16485
balloob merged 1 commit intohome-assistant:devfrom
Adminiuga:zha-remove-discovery-info

Conversation

@Adminiuga
Copy link
Copy Markdown
Contributor

@Adminiuga Adminiuga commented Sep 8, 2018

Description:

Leverage endpoint.model and endpoint.manufacturer properties instead of reading manufacturer/model attributes.

Zigpy PR#56 stores manufacturer and model information as endpoint attributes. No need to read those, so no need for _discovery_endpoint_info() method.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

Leverage endpoint.model and endpoint.manufacturer properties
@ghost ghost added the in progress label Sep 8, 2018
@balloob
Copy link
Copy Markdown
Member

balloob commented Sep 12, 2018

Thanks for all your work on ZHA 👍

I see you're handling manufacturer/brand. Would you be interested in adding a PR for ZHA to make it part of the device registry? More info here

@balloob balloob merged commit 117ea9e into home-assistant:dev Sep 12, 2018
@ghost ghost removed the in progress label Sep 12, 2018
@Adminiuga
Copy link
Copy Markdown
Contributor Author

I'll be looking into that. Some physical ZHA devices are multifaceted and device concept aligns with that nature of zha devices quite well.

@Adminiuga Adminiuga deleted the zha-remove-discovery-info branch September 12, 2018 16:40
@balloob balloob mentioned this pull request Sep 28, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed integration: zha small-pr PRs with less than 30 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants